package com.apac.bom;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the employee_project_allowance_tbl database table.
 * 
 */
@Entity
@Table(name="employee_project_allowance_tbl")
public class EmployeeProjectAllowance extends AbstractBOM implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="EMP_PROJ_ALLW_CODE")
	private int empProjAllwCode;

	@Column(name="EMP_ALLW_AMT")
	private String empAllwAmt;

	@Column(name="EMP_ALLW_TYPE")
	private String empAllwType;

	@Column(name="EMP_OT_RATE")
	private String empOtRate;

	@Column(name="EMP_OT_TAG")
	private boolean empOtTag;

	//bi-directional many-to-one association to EmployeeProject
	@ManyToOne
	@JoinColumn(name="EMP_PROJ_CODE")
	private EmployeeProject employeeProject;

	public EmployeeProjectAllowance() {
	}

	public int getEmpProjAllwCode() {
		return this.empProjAllwCode;
	}

	public void setEmpProjAllwCode(int empProjAllwCode) {
		this.empProjAllwCode = empProjAllwCode;
	}

	public String getEmpAllwAmt() {
		return this.empAllwAmt;
	}

	public void setEmpAllwAmt(String empAllwAmt) {
		this.empAllwAmt = empAllwAmt;
	}

	public String getEmpAllwType() {
		return this.empAllwType;
	}

	public void setEmpAllwType(String empAllwType) {
		this.empAllwType = empAllwType;
	}

	public String getEmpOtRate() {
		return this.empOtRate;
	}

	public void setEmpOtRate(String empOtRate) {
		this.empOtRate = empOtRate;
	}

	public boolean getEmpOtTag() {
		return this.empOtTag;
	}

	public void setEmpOtTag(boolean empOtTag) {
		this.empOtTag = empOtTag;
	}

	public EmployeeProject getEmployeeProject() {
		return this.employeeProject;
	}

	public void setEmployeeProject(EmployeeProject employeeProject) {
		this.employeeProject = employeeProject;
	}

}